
package com.york.tinyrpc.protoss.constant;

/**
 * 容错策略常量
 */
public final class TolerantStrategyConstants {

    private TolerantStrategyConstants() {
    }

    // region 容错策略名称

    /**
     * 快速失败容错策略
     */
    public static final String FAIL_FAST = "fail-fast";

    /**
     * 失败自动恢复容错策略
     */
    public static final String FALL_BACK = "fall-back";

    /**
     * 静默处理容错策略
     */
    public static final String FAIL_SAFE = "fail-safe";

    /**
     * 故障转移模式容错策略
     */
    public static final String FAIL_OVER = "fail-over";

    // endregion

}
